package com.lujieni.sentinel.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @Author：小鹿爱吃鱼
 * @Date: 2025/5/5 22:34
 * @Description:
 */
public class BlockHandler {

    // 必须为public类型 参数类型必须和原方法相匹配且最后一个参数为 BlockException
    public static String blockHandlerA(String content, BlockException exception){
        return "too many requests";
    }


}
